const { defineConfig } = require('@vue/cli-service')
const path = require('path')
module.exports = defineConfig({
    transpileDependencies: true
})
module.exports = {
    pluginOptions: {
        'style-resources-loader': {
            preProcessor: 'less',
            // 那些文件自动引入,使用绝对路径
            // __dirname + '../../'
            // 需要使用path+join来拼接路径
            patterns: [
                path.join(__dirname, './src/assets/styles/variables.less'),
                path.join(__dirname, './src/assets/styles/mixins.less')
            ]
        }
    }
}